<%@ page contentType="text/html;charset=UTF-8" language="java"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%> 
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
 
<html> 
	<head>
		<title>JSP for LoginForm form</title>
		<%@ include file="/commonHeader.jsp" %>
	</head>
	<body>
		<% if  (null!=request.getAttribute("message")){
				if (request.getAttribute("message").equals("login failure")){%>
					密码或用户名错误，请重新输入！password or username is NOT correct, please try again!
				<%  };
				if (request.getAttribute("message").equals("no results, please try again")){%>
					no results, please try again!
				<%  };
				if (request.getAttribute("message").equals("illegal to access")){%>
					no right to access,please login first!
				<%  };
				if (request.getAttribute("message").equals("timeout,please retry again")){%>
					timeout,please login again!
				<%  };%>
		<% };%>
		<br>
		<input type="button" value="退出" onClick="javascript:window.location='logout.do'">
		<html:form action="/memVerify.do">
			rnd : <html:text property="rnd"/><html:errors property="rnd"/><br/>
			<input type="submit" value="rnd搜索">
		</html:form>
		<%@ include file="/commonFooter.jsp" %>
	</body>
</html>

